/**
 * system
 * Email: thedanyang@qq.com
 * Date: 2024-02-06 10:52:07
 * Author: deary
 * Copyright (c) 2021 AYY
 */

import { XHR } from "@/utils/xhr/xhr";
const API = new XHR();

/**
 * 获取系统配置
 * @param data
 * @param header
 * @returns {Promise<unknown>}
 */
export function getSystemConfig(data, header) {
  return API.get("/system/config", data, header);
}
